// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import framework from 'esone-framework'
import router from './router'
import AppCss from './app.css'

Vue.config.productionTip = false


//配置使用哪种系统的API,根据基座的需要选择。例如浏览器访问：请使用browers,cordova打包：请使用cordova
framework.config(
  {
    ajax: 'browers',
    localStorage:'browers',
    geo:'browers'
  }
)


//加载框架
Vue.use(framework)

//加载项目中定义的公用vue组件
// Vue.use(xxxxx)



//初始化路由系统
framework.router.init(router)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
